package com.pine.sunshineelder.common.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

public class ElderBedEntity implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3445357187577108063L;
	private String id;
    private ElderEntity elder;           //老人实体 
	private String elderId;              //老人id
	private BedEntity bed;               //床位实体
	private String bedId;                //床位id
	private AccountEntity createUser;    //创建人实体
	private String createUserId;         //创建人id
	private LocalDateTime createTime;     //创建时间
	private LocalDateTime endTime;       //结束时间
	private String leaveReason;          //离开原因
	private Integer flag;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public ElderEntity getElder() {
		return elder;
	}
	public void setElder(ElderEntity elder) {
		this.elder = elder;
	}
	public String getElderId() {
		return elderId;
	}
	public void setElderId(String elderId) {
		this.elderId = elderId;
	}
	public BedEntity getBed() {
		return bed;
	}
	public void setBed(BedEntity bed) {
		this.bed = bed;
	}
	public String getBedId() {
		return bedId;
	}
	public void setBedId(String bedId) {
		this.bedId = bedId;
	}
	public AccountEntity getCreateUser() {
		return createUser;
	}
	public void setCreateUser(AccountEntity createUser) {
		this.createUser = createUser;
	}
	public String getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}
	public LocalDateTime getCreateTime() {
		return createTime;
	}
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}
	public LocalDateTime getEndTime() {
		return endTime;
	}
	public void setEndTime(LocalDateTime endTime) {
		this.endTime = endTime;
	}
	public String getLeaveReason() {
		return leaveReason;
	}
	public void setLeaveReason(String leaveReason) {
		this.leaveReason = leaveReason;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	
	
	
	
	

 
}